package demo3;

/**
 * @Author 12629
 * @Description：
 */
public class Test {

    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();

        computer.usbService(new Mouse());
        computer.usbService(new KeyBoard());

        computer.powerOff();

        /*IUSB iusb = new KeyBoard();
        iusb.func();*/
    }
}
